﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/SiteManager.Master" AutoEventWireup="true"
    CodeBehind="usermanager.aspx.cs" Inherits="NSX07.Admin.usermanager" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 651px;
        }
        .style2
        {
            width: 294px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 100%;">
        <tr>
            <td class="style1" align="center" valign="top" bgcolor="#666666">
                <strong>List customers
                    <br />
                </strong>
            </td>
            <td align="center" bgcolor="#666666">
                <strong>Details</strong>
            </td>
        </tr>
        <tr>
            <td class="style1" valign="top">
                <asp:GridView ID="GridView_User" runat="server" AutoGenerateColumns="False" DataKeyNames="id"
                    DataSourceID="SqlDataSource_User" AllowPaging="True" CellPadding="4" ForeColor="#333333"
                    GridLines="None" Width="570px">
                    <RowStyle BackColor="#E3EAEB" />
                    <Columns>
                        <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" ReadOnly="True"
                            SortExpression="id" />
                        <asp:BoundField DataField="name" HeaderText="name" SortExpression="name" />
                        <asp:BoundField DataField="city" HeaderText="city" SortExpression="city" />
                        <asp:BoundField DataField="phone" HeaderText="phone" SortExpression="phone" />
                        <asp:CommandField ShowEditButton="True" ShowSelectButton="True" SelectText="Details"
                            ShowDeleteButton="True" />
                    </Columns>
                    <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#7C6F57" />
                    <AlternatingRowStyle BackColor="White" />
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource_User" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                    SelectCommand="SELECT * FROM [Customer]" DeleteCommand="DELETE FROM [Customer] WHERE [id] = @id"
                    InsertCommand="INSERT INTO [Customer] ([username], [password], [name], [address], [city], [phone], [ip], [usernameAccess], [passwordAccess], [urlAccess], [homepage]) VALUES (@username, @password, @name, @address, @city, @phone, @ip, @usernameAccess, @passwordAccess, @urlAccess, @homepage)"
                    UpdateCommand="UPDATE [Customer] SET [username] = @username, [password] = @password, [name] = @name, [address] = @address, [city] = @city, [phone] = @phone, [ip] = @ip, [usernameAccess] = @usernameAccess, [passwordAccess] = @passwordAccess, [urlAccess] = @urlAccess, [homepage] = @homepage WHERE [id] = @id">
                    <DeleteParameters>
                        <asp:Parameter Name="id" Type="Int32" />
                    </DeleteParameters>
                    <UpdateParameters>
                        <asp:Parameter Name="username" />
                        <asp:Parameter Name="password" Type="String" />
                        <asp:Parameter Name="name" Type="String" />
                        <asp:Parameter Name="address" Type="String" />
                        <asp:Parameter Name="city" Type="String" />
                        <asp:Parameter Name="phone" Type="String" />
                        <asp:Parameter Name="ip" Type="String" />
                        <asp:Parameter Name="usernameAccess" Type="String" />
                        <asp:Parameter Name="passwordAccess" Type="String" />
                        <asp:Parameter Name="urlAccess" Type="String" />
                        <asp:Parameter Name="homepage" Type="String" />
                        <asp:Parameter Name="id" Type="Int32" />
                    </UpdateParameters>
                    <InsertParameters>
                        <asp:Parameter Name="username" />
                        <asp:Parameter Name="password" Type="String" />
                        <asp:Parameter Name="name" Type="String" />
                        <asp:Parameter Name="address" Type="String" />
                        <asp:Parameter Name="city" Type="String" />
                        <asp:Parameter Name="phone" Type="String" />
                        <asp:Parameter Name="ip" Type="String" />
                        <asp:Parameter Name="usernameAccess" Type="String" />
                        <asp:Parameter Name="passwordAccess" Type="String" />
                        <asp:Parameter Name="urlAccess" Type="String" />
                        <asp:Parameter Name="homepage" Type="String" />
                    </InsertParameters>
                </asp:SqlDataSource>
            </td>
            <td valign="top" rowspan="2">
                <asp:FormView ID="FormView1" runat="server" DataKeyNames="id" DataSourceID="SqlDataSource1"
                    CellPadding="4" Width="244px" ForeColor="#333333">
                    <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                    <RowStyle ForeColor="#333333" BackColor="#F7F6F3" />
                    <EditItemTemplate>
                        ID:
                        <asp:Label ID="idLabel1" runat="server" Text='<%# Eval("id") %>' />
                        <br />
                        username:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="usernameTextBox" runat="server" Text='<%# Bind("username") %>' />
                        <br />
                        Password:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="passwordTextBox" runat="server" Text='<%# Bind("password") %>' />
                        <br />
                        Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>' />
                        <br />
                        Address:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="addressTextBox" runat="server" Text='<%# Bind("address") %>' />
                        <br />
                        City:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="cityTextBox" runat="server" Text='<%# Bind("city") %>' />
                        <br />
                        Phone:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="phoneTextBox" runat="server" Text='<%# Bind("phone") %>' />
                        <br />
                        Ip:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="ipTextBox" runat="server" Text='<%# Bind("ip") %>' />
                        <br />
                        UsernameAccess:
                        <asp:TextBox ID="usernameAccessTextBox" runat="server" Text='<%# Bind("usernameAccess") %>' />
                        <br />
                        PasswordAccess:&nbsp;
                        <asp:TextBox ID="passwordAccessTextBox" runat="server" Text='<%# Bind("passwordAccess") %>' />
                        <br />
                        UrlAccess:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="urlAccessTextBox" runat="server" Text='<%# Bind("urlAccess") %>' />
                        <br />
                        Homepage:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="homepageTextBox" runat="server" Text='<%# Bind("homepage") %>' />
                        <br />
                        <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
                            Text="Update" />
                        &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False"
                            CommandName="Cancel" Text="Cancel" />
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        username:
                        <asp:TextBox ID="usernameTextBox" runat="server" Text='<%# Bind("username") %>' />
                        <br />
                        password:
                        <asp:TextBox ID="passwordTextBox" runat="server" Text='<%# Bind("password") %>' />
                        <br />
                        name:
                        <asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>' />
                        <br />
                        address:
                        <asp:TextBox ID="addressTextBox" runat="server" Text='<%# Bind("address") %>' />
                        <br />
                        city:
                        <asp:TextBox ID="cityTextBox" runat="server" Text='<%# Bind("city") %>' />
                        <br />
                        phone:
                        <asp:TextBox ID="phoneTextBox" runat="server" Text='<%# Bind("phone") %>' />
                        <br />
                        ip:
                        <asp:TextBox ID="ipTextBox" runat="server" Text='<%# Bind("ip") %>' />
                        <br />
                        usernameAccess:
                        <asp:TextBox ID="usernameAccessTextBox" runat="server" Text='<%# Bind("usernameAccess") %>' />
                        <br />
                        passwordAccess:
                        <asp:TextBox ID="passwordAccessTextBox" runat="server" Text='<%# Bind("passwordAccess") %>' />
                        <br />
                        urlAccess:
                        <asp:TextBox ID="urlAccessTextBox" runat="server" Text='<%# Bind("urlAccess") %>' />
                        <br />
                        homepage:
                        <asp:TextBox ID="homepageTextBox" runat="server" Text='<%# Bind("homepage") %>' />
                        <br />
                        <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert"
                            Text="Insert" />
                        &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False"
                            CommandName="Cancel" Text="Cancel" />
                    </InsertItemTemplate>
                    <ItemTemplate>
                        id:
                        <asp:Label ID="idLabel" runat="server" Text='<%# Eval("id") %>' />
                        <br />
                        username:
                        <asp:Label ID="usernameLabel" runat="server" Text='<%# Bind("username") %>' />
                        <br />
                        password:
                        <asp:Label ID="passwordLabel" runat="server" Text='<%# Bind("password") %>' />
                        <br />
                        name:
                        <asp:Label ID="nameLabel" runat="server" Text='<%# Bind("name") %>' />
                        <br />
                        address:
                        <asp:Label ID="addressLabel" runat="server" Text='<%# Bind("address") %>' />
                        <br />
                        city:
                        <asp:Label ID="cityLabel" runat="server" Text='<%# Bind("city") %>' />
                        <br />
                        phone:
                        <asp:Label ID="phoneLabel" runat="server" Text='<%# Bind("phone") %>' />
                        <br />
                        ip:
                        <asp:Label ID="ipLabel" runat="server" Text='<%# Bind("ip") %>' />
                        <br />
                        usernameAccess:
                        <asp:Label ID="usernameAccessLabel" runat="server" Text='<%# Bind("usernameAccess") %>' />
                        <br />
                        passwordAccess:
                        <asp:Label ID="passwordAccessLabel" runat="server" Text='<%# Bind("passwordAccess") %>' />
                        <br />
                        urlAccess:
                        <asp:Label ID="urlAccessLabel" runat="server" Text='<%# Bind("urlAccess") %>' />
                        <br />
                        homepage:
                        <asp:Label ID="homepageLabel" runat="server" Text='<%# Bind("homepage") %>' />
                        <br />
                        <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit"
                            Text="Edit" />
                        &nbsp;<asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete"
                            Text="Delete" />
                        &nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" CommandName="New"
                            Text="New" />
                        <br />
                        <br />
                        <asp:Button ID="btnLogin" runat="server" CommandArgument='<%# Bind("usernameAccess")%>'
                            Text="Login" OnClick="btnLogin_Click" CommandName='<%# Bind("passwordAccess") %>'
                            CssClass="prod_buy" />
                    </ItemTemplate>
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <EditRowStyle BackColor="#999999" />
                </asp:FormView>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
                    DeleteCommand="DELETE FROM [Customer] WHERE [id] = @id" InsertCommand="INSERT INTO [Customer] ([username], [password], [name], [address], [city], [phone], [ip], [usernameAccess], [passwordAccess], [urlAccess], [homepage]) VALUES (@username, @password, @name, @address, @city, @phone, @ip, @usernameAccess, @passwordAccess, @urlAccess, @homepage)"
                    SelectCommand="SELECT * FROM [Customer]
        where id=@id" UpdateCommand="UPDATE [Customer] SET [username] = @username, [password] = @password, [name] = @name, [address] = @address, [city] = @city, [phone] = @phone, [ip] = @ip, [usernameAccess] = @usernameAccess, [passwordAccess] = @passwordAccess, [urlAccess] = @urlAccess, [homepage] = @homepage WHERE [id] = @id">
                    <SelectParameters>
                        <asp:ControlParameter ControlID="GridView_User" DefaultValue="0" Name="id" PropertyName="SelectedValue" />
                    </SelectParameters>
                    <DeleteParameters>
                        <asp:Parameter Name="id" Type="Int32" />
                    </DeleteParameters>
                    <UpdateParameters>
                        <asp:Parameter Name="username" />
                        <asp:Parameter Name="password" Type="String" />
                        <asp:Parameter Name="name" Type="String" />
                        <asp:Parameter Name="address" Type="String" />
                        <asp:Parameter Name="city" Type="String" />
                        <asp:Parameter Name="phone" Type="String" />
                        <asp:Parameter Name="ip" Type="String" />
                        <asp:Parameter Name="usernameAccess" Type="String" />
                        <asp:Parameter Name="passwordAccess" Type="String" />
                        <asp:Parameter Name="urlAccess" Type="String" />
                        <asp:Parameter Name="homepage" Type="String" />
                        <asp:Parameter Name="id" Type="Int32" />
                    </UpdateParameters>
                    <InsertParameters>
                        <asp:Parameter Name="username" Type="String" />
                        <asp:Parameter Name="password" Type="String" />
                        <asp:Parameter Name="name" Type="String" />
                        <asp:Parameter Name="address" Type="String" />
                        <asp:Parameter Name="city" Type="String" />
                        <asp:Parameter Name="phone" Type="String" />
                        <asp:Parameter Name="ip" Type="String" />
                        <asp:Parameter Name="usernameAccess" Type="String" />
                        <asp:Parameter Name="passwordAccess" Type="String" />
                        <asp:Parameter Name="urlAccess" Type="String" />
                        <asp:Parameter Name="homepage" Type="String" />
                    </InsertParameters>
                </asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td class="style1">
                <asp:FormView ID="FormView2" runat="server" DataKeyNames="id" DataSourceID="SqlDataSource_User">
                    <EditItemTemplate>
                        id:
                        <asp:Label ID="idLabel1" runat="server" Text='<%# Eval("id") %>' />
                        <br />
                        username:
                        <asp:TextBox ID="usernameTextBox" runat="server" Text='<%# Bind("username") %>' />
                        <br />
                        password:
                        <asp:TextBox ID="passwordTextBox" runat="server" Text='<%# Bind("password") %>' />
                        <br />
                        name:
                        <asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>' />
                        <br />
                        address:
                        <asp:TextBox ID="addressTextBox" runat="server" Text='<%# Bind("address") %>' />
                        <br />
                        city:
                        <asp:TextBox ID="cityTextBox" runat="server" Text='<%# Bind("city") %>' />
                        <br />
                        phone:
                        <asp:TextBox ID="phoneTextBox" runat="server" Text='<%# Bind("phone") %>' />
                        <br />
                        ip:
                        <asp:TextBox ID="ipTextBox" runat="server" Text='<%# Bind("ip") %>' />
                        <br />
                        usernameAccess:
                        <asp:TextBox ID="usernameAccessTextBox" runat="server" Text='<%# Bind("usernameAccess") %>' />
                        <br />
                        passwordAccess:
                        <asp:TextBox ID="passwordAccessTextBox" runat="server" Text='<%# Bind("passwordAccess") %>' />
                        <br />
                        urlAccess:
                        <asp:TextBox ID="urlAccessTextBox" runat="server" Text='<%# Bind("urlAccess") %>' />
                        <br />
                        homepage:
                        <asp:TextBox ID="homepageTextBox" runat="server" Text='<%# Bind("homepage") %>' />
                        <br />
                        <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
                            Text="Update" />
                        &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False"
                            CommandName="Cancel" Text="Cancel" />
                    </EditItemTemplate>
                    <InsertItemTemplate>
                        User name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="usernameTextBox" runat="server" Text='<%# Bind("username") %>' Height="22px"
                            Width="180px" />
                        <br />
                        <br />
                        Password:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="passwordTextBox" runat="server" Text='<%# Bind("password") %>' Width="180px" />
                        <br />
                        <br />
                        Ful name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="nameTextBox" runat="server" Text='<%# Bind("name") %>' />
                        <br />
                        <br />
                        Address:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="addressTextBox" runat="server" Text='<%# Bind("address") %>' />
                        <br />
                        <br />
                        City:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="cityTextBox" runat="server" Text='<%# Bind("city") %>' Height="22px"
                            Width="105px" />
                        <br />
                        <br />
                        tel-phone:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="phoneTextBox" runat="server" Text='<%# Bind("phone") %>' />
                        <br />
                        <br />
                        Your IP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="ipTextBox" runat="server" Text='<%# Bind("ip") %>' />
                        <br />
                        <br />
                        Username access:
                        <asp:TextBox ID="usernameAccessTextBox" runat="server" Text='<%# Bind("usernameAccess") %>' />
                        <br />
                        <br />
                        Password access:
                        <asp:TextBox ID="passwordAccessTextBox" runat="server" Text='<%# Bind("passwordAccess") %>' />
                        <br />
                        <br />
                        Url access:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="urlAccessTextBox" runat="server" Text='<%# Bind("urlAccess") %>'
                            Height="20px" Width="270px" />
                        <br />
                        <br />
                        Homepage:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:TextBox ID="homepageTextBox" runat="server" Text='<%# Bind("homepage") %>' Width="270px" />
                        <br />
                        <br />
                        <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert"
                            Text="Insert" />
                        &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False"
                            CommandName="Cancel" Text="Cancel" />
                    </InsertItemTemplate>
                    <ItemTemplate>
                        &nbsp;&nbsp;<asp:LinkButton ID="NewButton" runat="server" CausesValidation="False"
                            CommandName="New" Text="New" CssClass="prod_buy" />
                    </ItemTemplate>
                </asp:FormView>
            </td>
        </tr>
    </table>
    <br />
    <asp:Label ID="user" runat="server" Text="Label" Visible="False"></asp:Label>
    <asp:Label ID="pass" runat="server" Text="Label" Visible="False"></asp:Label>
    <asp:Label ID="key" runat="server" Text="Label" Visible="False"></asp:Label>
    <br />
    <br />
    <br />
    <asp:Label ID="Label1" runat="server" Text="Order" Visible="False"></asp:Label>
    <table style="width: 100%;">
        <tr>
            <td align="center" bgcolor="#666666" class="style2">
                <strong>List Products running low
                    <br />
                </strong>
            </td>
            <td align="center" bgcolor="#666666" style="font-weight: 700">
                Details
            </td>
        </tr>
        <tr>
            <td class="style2">
                <ul style="list-style-type: none">
                    <asp:DataList ID="dtlProductsMinStock" runat="server">
                        <ItemTemplate>
                            <asp:Panel ID="Panel1" runat="server">
                                <li>
                                    <asp:Button ID="m" CommandArgument='<%# XPath("id") %>' runat="server" Text='<%# XPath("name") %>'
                                        CssClass="buttonLink" OnClick="m_Click" />
                                    (<asp:Label ID="lblstock" runat="server" Text='<%# XPath("id") %>'></asp:Label>)
                                </li>
                            </asp:Panel>
                        </ItemTemplate>
                    </asp:DataList>
                </ul>
            </td>
            <asp:DataList ID="dtlProductDetails" runat="server" RepeatColumns="4">
                <ItemTemplate>
                    <asp:Panel ID="Panel2" runat="server">
                        <asp:Label ID="lblName" runat="server" Text='<%# XPath("name") %>' ForeColor="#FF3300"></asp:Label>
                        <br />
                        <asp:Image ID="Image1" runat="server" ImageUrl='<%# "." + XPath(&quot;imageUrl&quot;) %>'
                            Height="238px" Width="173px" /><br />
                        <br />
                        <asp:Label ID="stock" runat="server" Text='<%# XPath("stock") %>' ForeColor="#FF3300"></asp:Label>
                        <br />
                        <asp:Button ID="updateStock" runat="server" CommandArgument='<%# XPath("id") %>'
                            Text="Push" />
                        <br />
                    </asp:Panel>
                </ItemTemplate>
            </asp:DataList>
            <td>
            </td>
        </tr>
    </table>
</asp:Content>
